package com.cabinet.service.mybatis;

import java.util.List;

import com.cabinet.po.IctCommodities;
import com.cabinet.po.IctCommoditiesQuery;
import com.cabinet.service.dto.CommoditiesDto;
import com.cabinet.service.dto.CommoditiesPageUtil;

public interface IctCommoditiesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IctCommodities record);

    int insertSelective(IctCommodities record);

    IctCommodities selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IctCommodities record);

    int updateByPrimaryKey(IctCommodities record);
    
    public List<IctCommoditiesQuery> queryCommoditiesByCidAndClaName(IctCommoditiesQuery ictCommoditiesQuery);

    public List<CommoditiesDto> queryCommodities(CommoditiesPageUtil commoditiesPage);

    public int queryCommoditiesCount();
    
    
    public List<CommoditiesDto> queryCommoditiesBySellerId(CommoditiesPageUtil commoditiesPage);
    
    public int queryCommoditiesCountBySellerId(CommoditiesPageUtil commoditiesPage);
    
}